package com.seewo.dubbo.debugger.api;

import com.seewo.dubbo.debugger.api.model.ApiDef;
import com.seewo.dubbo.debugger.api.model.Document;

import java.util.Map;

/**
 * @author chenliangliang
 * @date 2018/7/26
 */
public interface ApiDebuggerService {

    Map<String, Document> getDocs();

    Document getDoc(String interfaceName);

    ApiDef getApi(String interfaceName,String methodName);

    /**
     * 接口调试
     * @param request 封装请求
     * @return 封装结果
     */
    Result debug(Request request);
}
